

var offset1 = 150;
var offset2 = 0;



$(document).ready(
	function () {
		$main = $(".ma");
		
		$cloud1 = $("#cloud1");
		
		mainwidth = $main.outerWidth();  
	}
);

/// 飘动
setInterval(function flutter() {
	if (offset1 >= mainwidth) {
		offset1 =  -580;
	}

	
	offset1 += 1.1;
	
	$cloud1.css("background-position", offset1 + "px 30px")
	
	
}, 70);

